home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
QBWIZ12.ARJ
/
EXAMPLE.BAS
< prev
next >
Wrap
BASIC Source File
|
1990-02-10
|
848b
|
24 lines
REM $INCLUDE: 'ACCESS.BI'
' Example program demonstrating the use of the ACCESS functions of QBWIZ.
' You can compile this using the CREATE.BAT file.
' The functions REDIRECTION%, CRT$, FORECOLOR%, BACKCOLOR%, SCREENWIDTH%
' and SCREENHEIGHT% are used.
DEFINT A-Z
PRINT "This is an example program that uses a few of the functions provided"
PRINT "by the ACCESS library in the QBWIZ package."
PRINT
IF REDIRECTION% THEN
PRINT "Output has been redirected."
PRINT "No screen information will be printed."
ELSE
PRINT "Output is going to the screen."
PRINT
PRINT "Display type: "; CRT$
PRINT "Screen size :"; SCREENHEIGHT%; "by"; SCREENWIDTH%
PRINT "Current foreground color:"; FORECOLOR%
PRINT "Current background color:"; BACKCOLOR%
END IF